package com.cham.video.service;

import com.cham.video.dto.VideoInfo;
import com.cham.video.entity.ChamVideo;
import com.cham.video.entity.ChamVideoFenzu;

import java.util.List;

/**
 * @author Howl-Xu
 * @version 1.0.0
 * @Description: 请描述一下这个类文件吧
 * @createTime 2020年03月15日 09:54:00
 */
public interface VideoService {
//    List<VideoInfo> getVideoInfoTop10TodayByFenquParent(String fenquParent);
//
    List<VideoInfo> getVideoInfoTop12ByFenquParent(String fenquParent);
//
//    List<VideoInfo> getVideoInfoFenquParentTop11(String fenquParent);

//    List<VideoInfo> getVideoInfoTop4Today();

    List<VideoInfo> getVideoInfoTop6();

    void saveVideoInfo(ChamVideo chamVideo);

    void saveXinfanInfo(ChamVideo chamVideo);

    void saveSPVideoInfo(ChamVideo chamVideo);

    List<VideoInfo> getVideoInfoSpecial();

//    List<VideoInfo> getXinfanTop12();

    List<VideoInfo> getXinfan1dayTop10();

    List<VideoInfo> getXinfan3dayTop10();

    List<VideoInfo> getXinfan7dayTop10();

    List<VideoInfo> getVideoInfo1dayTop10ByFenquParent(String fenquParent);

    List<VideoInfo> getVideoInfo3dayTop10ByFenquParent(String fenquParent);

    List<VideoInfo> getVideoInfo7dayTop10ByFenquParent(String fenquParent);

    List<ChamVideoFenzu> getXinfanFenzu();

//    //根据新番分组id查找最大的fenzuIndex
//    int getXinfanFenzuIndexByXinfanFenzuId(int xinfanFenzuId);

    List<VideoInfo> getVideoInfoByFenzuId(int fenzuId);

    int getMaxFenzuIndexByFenzuId(int fenzuId);

    List<ChamVideoFenzu> getFenzuInfoByUUID(String userUUID);

    //使用newFenzuName以及userUUID创建一个分组
    void addNewNormalFenzu(String newFenzuName, String userUUID);

    void addNewXinfanFenzu(String newFenzuName);

    void addBofangCount(int videoId);

    List<VideoInfo> getVideoInfoRandom10ByFenquParent(String fenquParent);

    List<VideoInfo> getXinfanCurrentUpdate();

    List<VideoInfo> getJingxuanTop4Video(String fenquParent);

    List<VideoInfo> getVideoInfoTop12ByFenquParentAndChild(String fenquParent, String fenquChild);

    List<VideoInfo> getVideoInfoFenyeByFenquParentAndChild(String fenquParent, String fenquChild,int start, int pageSize);

    List<VideoInfo> getVideoInfo1dayTop10ByFenquParentAndChild(String fenquParent, String fenquChild);

    List<VideoInfo> getVideoInfo3dayTop10ByFenquParentAndChild(String fenquParent, String fenquChild);

    List<VideoInfo> getVideoInfo7dayTop10ByFenquParentAndChild(String fenquParent, String fenquChild);

    int getCountOfVideoByFenquParentAndChild(String fenquParent, String fenquChild);
}
